<div class="contentr fr">
    <div class="cr">
        <p>解冻申诉</p>
    </div>
    <div class="cr_7 ml90 mt30" >
        <table width="552" border="0" cellspacing="0" cellpadding="0">
            <form action="" method="post" enctype="multipart/form-data">
                <tr>
                    <td width="108" height="51" align="right">申诉标题：</td>
                    <td width="218"><input type="text" name="title" class="kuang4"/></td>
                    <td width="225" height="51" align="right">&nbsp;</td>
                </tr>
                <tr>
                    <td height="176" align="right">申诉理由：</td>
                    <td><textarea  class="kuang7"rows="10" cols="30" name="content"></textarea></td>
                    <td width="225" height="176" align="right">&nbsp;</td>
                </tr>
                <tr>
                    <td height="171" align="right">上传佐证资料：</td>
                    <td valign="top"><img src="/static/images/jiedongshensu.jpg" id="thumb" style="width: 211px;height: 149px;" /></td>
                    <td width="225" height="171" align="left" valign="top">
                        <span class="file2 mt5">上传图片<input id="fileUpload" type="file" name="pic[]" /></span>
                    </td>
                    <td width="1"></td>
                </tr>
                <tr>
                    <td height="33">&nbsp;</td>
                    <td height="33"><input class="submit_reg " type="submit" value="提交" /></td>
                    <td height="33">&nbsp;</td>
                </tr>
            </form>
        </table>
    </div>
    <div class=" mt30">
        <table width="376" height="40" border="1" cellspacing="0" bordercolor="#dcdcdc" >
            <tr></tr>
        </table>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        $("input#fileUpload").change(function(event){
            $("img#thumb").attr("src","");
            var file=event.target.files[0];
            if(file){
                var r=new FileReader();
                r.readAsDataURL(file);
                r.onload=function(e){
                    var contents= e.target.result;
                    $("img#thumb").attr("src",contents);
                }
            }else{
                alert("选择图片失败！");
            }
        });
    });
</script>